package com.the12354.orena;

import org.bukkit.entity.CreatureType;

public class MonsterData {
	public int EntityID;
	public int lastDamagerID;
	public CreatureType monType;
	public static MonsterScores Scores;
	public static void InitializeScores(MonsterScores s)
	{
		Scores = s;
	}
	public MonsterData(int EntID) {
		EntityID = EntID;
		lastDamagerID = 0;
		monType = CreatureType.PIG;
	}

	public MonsterData(int EntID, CreatureType _monType) {
		EntityID = EntID;
		monType = _monType;
		lastDamagerID = 0;
	}

	public int GetScore() {
		switch (monType) {
		case PIG:
			return Scores.Pig;
		case SKELETON:
			return Scores.Skeleton;
		case SPIDER:
			return Scores.Spider;
		case ZOMBIE:
			return Scores.Zombie;
		case PIG_ZOMBIE:
			return Scores.Pig_Zombie;
		case CREEPER:
			return Scores.Creeper;
		default:
			return 0;
		}
	}
}
